package com.lambdademo.stream.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 书籍类
 * @since  2024/09/05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode// 重写equals和hashCode方法
public class Book {
    private Long id;
    private String name;
    // 类别
    private String category;
    // 评分
    private Integer score;
    // 简介
    private String intro;
}
